package com.ctshk.rpc.train.req;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.time.LocalDate;

@Data
@ApiModel("查询火车-产品中心-查看详情req")
public class TrainProductDetailByStrategyReq {
    private static final long serialVersionUID = 1L;

    @NotNull(message = "产品ID不能为空")
    @ApiModelProperty("产品ID")
    private Long productId;

    @NotNull(message = "开始日期不能为空")
    @ApiModelProperty("开始日期，默认查询一个月内的数据")
    private LocalDate beginDate;
}
